home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 5143 < prev    next >
Encoding:
Text File  |  1996-08-06  |  622 b   |  29 lines

  1. Path: netnews.hinet.net!ms1!donny
  2. From: donny@ms1.hinet.net (Donny Lee)
  3. Newsgroups: comp.lang.c++
  4. Subject: class object member & Inherit?
  5. Date: 2 Feb 1996 19:05:05 GMT
  6. Organization: DCI HiNet
  7. Message-ID: <4etn91$gud@netnews.hinet.net>
  8. NNTP-Posting-Host: ms1.hinet.net
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12.  Here comes another question, Class object member and Inherit.
  13.  
  14.     class Word {
  15.           :
  16.         String str;        // another class
  17.     };
  18.   ------------------
  19.     class Word : private String {
  20.         :
  21.         :
  22.     }
  23.  
  24.  What's the main difference in human mind and practice between 
  25.  the two?
  26.  
  27.  // Donny
  28.  
  29.